home *** CD-ROM | disk | FTP | other *** search
/ CICA 1995 September (Japanese) / CICA Shareware for Windows CD-ROM (Walnut Creek) (September 1995) (Japanese) (Disc 2).iso / disc2 / patches / symantec / mfcsim.exe / SIMNEW.EXE / MFC / SAMPLES / CALC / CALC.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-06  |  1.7 KB  |  75 lines

  1. // Filename: CALC.HPP                                       
  2. // "CALC" Generated by Visual Programmer
  3. // Author:   Blue Sky                                       
  4.  
  5.  
  6.  
  7.  
  8. // *************************************************************
  9. // Class definition for Class: Cwm_Application
  10. // Base Class                : Cwm_BaseApplication
  11. // Derived from MFC Class    : CWinApp
  12. // *************************************************************
  13.  
  14. class Cwm_Application : public Cwm_BaseApplication
  15. {
  16. public:
  17.     Cwm_Application (const char* pName = NULL)
  18.     : Cwm_BaseApplication (pName) {} ;
  19.     virtual ~Cwm_Application () {} ;
  20.  
  21. // Overrides
  22.     virtual BOOL InitApplication ();
  23.     virtual BOOL InitInstance ();
  24.     virtual int  ExitInstance ();
  25.  
  26.     // YOU CAN ADD YOUR OWN CODE HERE
  27.  
  28. protected:
  29.     //{{SIM_MSG_PROTO(Cwm_Application)
  30.     // DO NOT EDIT what you see in this block of generated code.
  31.  
  32.     //}}SIM_MSG_PROTO(Cwm_Application)
  33.  
  34. protected:
  35.  
  36.  
  37.     DECLARE_MESSAGE_MAP()
  38. };
  39.  
  40.  
  41.  
  42. // *************************************************************
  43. // Class definition for Class: Cwm_MainWnd
  44. // Base Class                : Cwm_MainBaseWnd
  45. // Derived from MFC Class    : CWindow
  46. // *************************************************************
  47.  
  48. class Cwm_MainWnd : public Cwm_MainBaseWnd
  49. {
  50. public:
  51.     Cwm_MainWnd();
  52.     virtual ~Cwm_MainWnd();
  53.  
  54. #ifdef _DEBUG
  55.     virtual void AssertValid() const;
  56.     virtual void Dump(CDumpContext& dc) const;
  57. #endif
  58.  
  59.     // YOU CAN ADD YOUR OWN CODE HERE
  60.  
  61.  
  62. protected:
  63.  
  64.     //{{SIM_MSG_PROTO(Cwm_MainWnd)
  65.     // DO NOT EDIT what you see in this block of generated code.
  66.     //}}SIM_MSG_PROTO(Cwm_MainWnd)
  67.  
  68. protected:
  69.  
  70.     DECLARE_DYNCREATE(Cwm_MainWnd)
  71.  
  72.     DECLARE_MESSAGE_MAP()
  73.  
  74. };
  75.